﻿using System;
namespace hf.Model
{
	/// <summary>
	/// News:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class News
	{
		public News()
		{}
		#region Model
		private int _id;
		private int _classid;
		private int _bclassid;
		private int _sclassid;
		private int _topicid;
		private string _title;
		private string _pictitle;
		private string _overview;
		private string _content;
		private DateTime _addtime;
		private string _byuser;
		private string _byfrom;
		private int _isindex;
		private int _hits;
		private int _isrotation;

        public int CityID { get; set; }
		/// <summary>
		/// 新闻ID
		/// </summary>
		public int ID
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 法律事务分类
		/// </summary>
		public int ClassID
		{
			set{ _classid=value;}
			get{return _classid;}
		}
		/// <summary>
		/// 大类ID
		/// </summary>
		public int bClassID
		{
			set{ _bclassid=value;}
			get{return _bclassid;}
		}
		/// <summary>
		/// 小类ID
		/// </summary>
		public int sClassID
		{
			set{ _sclassid=value;}
			get{return _sclassid;}
		}
		/// <summary>
		/// 专题分类
		/// </summary>
		public int TopicID
		{
			set{ _topicid=value;}
			get{return _topicid;}
		}
		/// <summary>
		/// 标题
		/// </summary>
		public string Title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 图片标题
		/// </summary>
		public string PicTitle
		{
			set{ _pictitle=value;}
			get{return _pictitle;}
		}
		/// <summary>
		/// 概述
		/// </summary>
		public string Overview
		{
			set{ _overview=value;}
			get{return _overview;}
		}
		/// <summary>
		/// 内容
		/// </summary>
		public string Content
		{
			set{ _content=value;}
			get{return _content;}
		}
		/// <summary>
		/// 发布时间
		/// </summary>
		public DateTime Addtime
		{
			set{ _addtime=value;}
			get{return _addtime;}
		}
		/// <summary>
		/// 发布人
		/// </summary>
		public string ByUser
		{
			set{ _byuser=value;}
			get{return _byuser;}
		}
		/// <summary>
		/// 来源
		/// </summary>
		public string ByFrom
		{
			set{ _byfrom=value;}
			get{return _byfrom;}
		}
		/// <summary>
		/// 是否放到首页
		/// </summary>
		public int isIndex
		{
			set{ _isindex=value;}
			get{return _isindex;}
		}
		/// <summary>
		/// 点击数
		/// </summary>
		public int Hits
		{
			set{ _hits=value;}
			get{return _hits;}
		}
		/// <summary>
		/// 是否首页轮播图片
		/// </summary>
		public int isRotation
		{
			set{ _isrotation=value;}
			get{return _isrotation;}
		}
        /// <summary>
        /// 是否置顶
        /// </summary>
        public int isTop
        {
            get;
            set;
        }
		#endregion Model

	}
}

